package com.qs.rocketmq.sc;

import com.qs.rocketmq.sc.service.MySink;
import com.qs.rocketmq.sc.service.MySource;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;

/**
 * 启动类
 *
 * @author qinyupeng
 * @since 2021-08-28 18:28:15
 */
// 开启Binding功能，扫描@Import和@Output注解
@EnableBinding({MySource.class, MySink.class})
@SpringBootApplication
public class RocketmqScApplication {

    public static void main(String[] args) {
        SpringApplication.run(RocketmqScApplication.class, args);
    }

}
